<style>
    .td_blue th {
        background: rgb(47, 117, 81);
    }
    
    .td_warn td {
        background: rgb(255, 192, 0);
    }
</style>
<?php echo $this->render('/public/header');?>
<div id="main" class="col-xs-12 col-lg-12 col-md-12 col-sm-12">
    <div class="form-inline">
        <select class="form-control" onchange="Page.change(this)">
            <!-- <option value=3 <?php echo yii::$app->request->get('type')==3?'selected':"";?>>银行结余表</option> -->
            <option value=4 <?php echo yii::$app->request->get('type')==4?'selected':"";?>>预计月度应收表</option>
            <option value=5 <?php echo yii::$app->request->get('type')==5?'selected':"";?>>预计月度应付表</option>
            <!-- <option value=2 <?php echo yii::$app->request->get('type')==2?'selected':"";?>>捷克部门独立核算</option> -->
            <option value=1 <?php echo yii::$app->request->get('type')==1?'selected':"";?>>利润表</option>
        </select>
    </div>
    <br/>
    <script>
    var Page={};
    Page.change=function(e){
        window.location.href="/table/finance?type="+e.value;
    }
    </script>
    <?php echo $this->render($this->params['table']);?>
</div>

<?php echo $this->render('/public/footer');?>